package com.yangjie.common.dao.criteria;

import org.hibernate.criterion.Criterion;

public interface CriteriaExpressionIF {
	public static final String OP_EQUAL = "=";
	public static final String OP_GT = ">";
	public static final String OP_LT = "<";
	public static final String OP_LIKE = "like";
	public static final String OP_GTANDEQ = ">=";
	public static final String OP_LTANDEQ = "<=";
	public static final String OP_BETWEEN = "between";
	public static final String OP_IN = "in";
	public static final String OP_NOTEQ = "!=";
	
	
	
	public String getOp();
	
	public String getField();
	
	public Criterion toCriterion();
}
